import { request } from "../utils/request";
// 获取图片列表
export function getImageList(data: { pageSize: number, pageNum: number }) {
  return request({ url: '/api/preview/imgs', method: 'POST', data: data });
}
// 删除图片
export function deleteImage(data: { imageId: number }) {
  return request({ url: '/api/delete/image', method: 'POST', data: data });
}